/* 订单状态：
 * 
*/
export const tradingState = (state, e) => {
	e = e || {}
	switch(state){
		case 1:
			return {
				name: '待匹配',
				color: 'Scolor1',
				stateTime: e.formatDate
			} 
		case 2:
			return {
				name: '待打款',
				color: 'Scolor2',
				stateTime: e.matchDate
			}
		case 3:
			return {
				name: '待确定',
				color: 'Scolor3',
				stateTime: e.payDate
			}
		case 4:
			return {
				name: '已完成',
				color: 'Scolor4',
				stateTime: e.finishDate
			}
		case 5:
			return {
				name: '已取消',
				color: 'Scolor5',
				stateTime: e.formatDate
			}
		default:
	}
}